﻿<UserControl x:Class="MediaAssistant.Controls.BottomPanel.BottomPanelView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:Constants="clr-namespace:MediaAssistant.Constants"
             xmlns:cal="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation"
             Height="30">
    <DockPanel LastChildFill="False" Background="{StaticResource FooterGradientBackground}">
        <ItemsControl DockPanel.Dock="Left" cal:RegionManager.RegionName="{x:Static Constants:MediaAssistantRegionNames.StatusBarRegion}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Horizontal"/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
        <ItemsControl DockPanel.Dock="Right" cal:RegionManager.RegionName="{x:Static Constants:MediaAssistantRegionNames.StatusBarRightRegion}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
    </DockPanel>
</UserControl>
